package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;

@Data
public class CarAccident {
    private Integer id;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate accidentDate;//事故日期
    private Double claimsAmount;//理赔金额
    private Double lossAmount;//损失金额
    private Integer treatmentSituation;//事故处理情况 0:未处理 1:已处理
    private Integer compensationSituation;//赔偿金到位情况 0:未到位 1:已到位
    private String operatingMileage;//运营里程数
    private String accidentCause;//事故原因
    private String attachmentUploadName;//附件名称
    private String attachmentUpload;//附件
    private Integer carId;//car外键
}
